package com.supreme.studyserver.service.syncprocess;

import com.supreme.studyserver.interfacepkg.ISyncProc;
import org.springframework.stereotype.Service;

@Service
public class BusinessSyncService {

    public <T extends ISyncProc> void startSyncProcess(T syncProc) {
        syncProc.showDivider();
        syncProc.prepareSync();
        syncProc.startSync();
        syncProc.finishSync();
    }
}
